package cn.org.donald.pojo.entity;

import cn.org.donald.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Donald
 * @since 2021-03-17
 */
@ApiModel(value="权限实体", description="")
@TableName(value = "t_permission")
public class Permission extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "权限名")
    private String permissionName;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "类名")
    private String controllerName;

    @ApiModelProperty(value = "方法名")
    private String methodName;


    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getControllerName() {
        return controllerName;
    }

    public void setControllerName(String controllerName) {
        this.controllerName = controllerName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    @Override
    public String toString() {
        return "Permission{" +
        "permissionName=" + permissionName +
        ", description=" + description +
        ", controllerName=" + controllerName +
        ", methodName=" + methodName +
        "}";
    }
}
